/* 
 * File:   Result.cpp
 * Author: Lucky
 * 
 * Created on 3. říjen 2011, 21:18
 */

#include <iostream>
#include <iomanip>

#include "Result.h"

Result::Result(int steps, int* coords) {
    m_steps = steps;
    m_coords = coords;
}

Result::Result(const Result& orig) {
    throw "No result copy constructor!";
}

Result::~Result() {
    delete m_coords;
}

void Result::printCoords() const {
    std::cout << "Posloupnost kroku: ";
    for (int i = 0; i < m_steps; i++) {
        std::cout << m_coords[2 * i] << "X" << m_coords[2 * i + 1] << "  ";
    }
    std::cout << std::endl;
}

